@import './mixin.scss';
.avue-left,
.avue-header,
.avue-top,
.avue-logo,
.avue-layout
.login-logo,
.avue-main {
    transition: all .3s;
}
.avue-main{
  background:#fff;
}
.avue-contail {
    width: 100%;
    height: 100%;
    background: #fff;
    background-size: 100%;
    background-repeat: no-repeat;
}

.avue-left {
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    width: 200px;
    height: calc(100% - 64px);
    background: #FFF;
    -webkit-box-shadow: 0 0 6px 0 #E9EAF2;
    box-shadow: 0 0 6px 0 rgb(184, 183, 183);
    overflow: auto;
    overflow-x: hidden;
    &::-webkit-scrollbar-track-piece {
        background-color: transparent;
    }
    &::-webkit-scrollbar {
        width: 7px;
        height: 7px;
        background-color: transparent;
    }
    &::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background-color: hsla(220, 4%, 58%, .3);
    }
}

.avue--collapse {
    .avue-left,
    .avue-logo {
        width: 64px;
    }
    .avue-layout {
        margin-left: 64px;
        width: calc(100% - 64px);
        transition: all .3s;
    }
    .avue-main {
        width: 100%;
        left: 64px;
    }
    // 菜单栏
    .title-tags {
        width: calc(100% - 65px);
        position: fixed;
        left: 65px;
        z-index: 100;
        transition: all .3s;
    }
}

.avue-header {
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    background: #FFF;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 2px 6px 0 #F1F1F6;
    z-index: 101;
}
.filter-container {
    background: #fff;
    align-items: center;
    align-content: center;
    padding-top: 20px;
}
.avue-layout {
    margin-left: 215px;
    width: calc(100% - 220px);
    height: 100%;

}
.avue-main {
    width: 100%;
    height: 100%;
    margin-top: 105px;
    padding-bottom: 20px;
    box-sizing: border-box;
}

// 菜单栏
.title-tags {
    width: calc(100% - 201px);
    position: fixed;
    top: 64px;
    left: 201px;
    z-index: 100;
}

.avue-view {
    padding-bottom: 22px;
    width: 100%;
    box-sizing: border-box;
}

.avue-footer {
    margin: 0 auto;
    padding: 0 22px;
    width: 1300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .logo {
        margin-left: -50px;
    }
    .copyright {
        color: #666;
        line-height: 1.5;
        font-size: 12px;
    }
}

.avue-shade {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .3);
    z-index: 1024;
    &--show {
        display: block;
    }
}

@media screen and (max-width:600px) and (max-width:992px) {
    $width: 240px;
    // ele的自适应
    .el-dialog,
    .el-message-box {
        width: 98% !important;
    }
    //登录页面
    .login-left {
        display: none !important;
    }
    .login-logo {
        padding-top: 30px !important;
        margin-left: -30px;
    }
    .login-weaper{
        margin: 0 auto;
        width: 96% !important;
    }
    .login-border {
        border-radius: 5px;
        padding: 40px;
        margin: 0 auto;
        float: none !important;
        width: 100% !important;
    }
    .login-main {
        width: 100% !important;
    }
    //主框架
    .avue-tags {
        display: none;
    }
    .avue-left,
    .avue-logo {
        left: -$width;
    }
    .avue-main {
        left: 0;
        width: 100%;
    }
    .top-bar__item {
        display: none;
    }
    .avue--collapse {
        .avue-left,
        .avue-logo {
            width: $width;
            left: 0;
        }
        .avue-main {
            left: $width;
            width: 100%;
        }
        .avue-header {
            padding: 0;
            transform: translate3d(230px, 0, 0);
        }
        .avue-shade {
            display: block;
        }
    }
}
@media screen and (max-width: 600px) {
    $width: 280px;
    // ele的自适应
    .el-dialog,
    .el-message-box {
        width: 98% !important;
    }
    //登录页面
    .login-left {
        display: none !important;
    }
    .login-logo {
        padding-top: 30px !important;
        margin-left: -30px;
    }
    .login-weaper{
        margin: 0 auto;
        width: 96% !important;
    }
    .login-border {
        border-radius: 5px;
        padding: 40px;
        margin: 0 auto;
        float: none !important;
        width: 100% !important;
    }
    .login-main {
        width: 100% !important;
    }
    //主框架
    .avue-tags {
        display: none;
    }
    .avue-left,
    .avue-logo {
        left: -$width;
    }
    .avue-main {
        left: 0;
        width: 100%;
    }
    .top-bar__item {
        display: none;
    }
    .avue--collapse {
        .avue-left,
        .avue-logo {
            width: $width;
            left: 0;
        }
        .avue-main {
            left: $width;
            width: 100%;
        }
        .avue-header {
            padding: 0;
            transform: translate3d(230px, 0, 0);
        }
        .avue-shade {
            display: block;
        }
    }
  .avue--collapse {
        .avue-left,
        .avue-logo {
            width: 64px;
        }
        .avue-layout {
            margin-left: 200px;
            width: calc(100% - 200px);
            transition: all .3s;
        }
        .avue-main {
            width: 100%;
            left: 80px;
        }
        // 菜单栏
        .title-tags {
            width: calc(100% - 65px);
            position: fixed;
            top: 60px;
            left: 65px;
            z-index: 100;
            transition: all .3s;
        }
    }
}